<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>添加商品</title>
</head>
<body>
	<div th:replace="~{publicStyle/header :: header}"></div>
	<h3 th:text="${commodityModel.title}"></h3>
	<form action="Hello/save" th:action="@{/car}" method="post" th:object="${commodityModel.commodity}">
		<input type="hidden" name="id" th:value="*{id}"/>
		商品名称:<br/><input type="text" name="name" th:value="*{name}"/><br/>
		价格：<br/><input type="text" name="price" th:value="*{price}"/><br/>
		库存:<br/><input type="text" name="inventory" th:value="*{inventory}"/><br/>
		描述：<br/><input type="text" name="describe" th:value="*{describe}"/><br/>
		<br/><input type="hidden" name="times" th:value="*{times}"/><br/>
		<input type="submit" value="确定"/>
	</form>
	<div th:replace="~{publicStyle/footer :: footer}"></div>
</body>
</html>